package com.keba.lamp.complaint.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.keba.basic.base.entity.Entity;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static com.keba.lamp.model.constant.Condition.LIKE;


/**
 * <p>
 * 实体类
 * 在线立案
 * </p>
 *
 * @author twg
 * @date 2025-07-27 20:56:45
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("ss_online_case_filing")
public class OnlineCaseFiling extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 乐观锁
     */
    @TableField(value = "revision", condition = EQUAL)
    @Version
    private Integer revision;
    /**
     * 是否删除，0-未删除，1-删除
     */
    @TableField(value = "is_del", condition = EQUAL)
    private Integer isDel;
    /**
     * 唯一标识字符串
     */
    @TableField(value = "code", condition = LIKE)
    private String code;
    /**
     * 关联案件
     */
    @TableField(value = "case_id", condition = EQUAL)
    private Long caseId;
    /**
     * 状态（0 待提交，1待审核  4 待补充材料  -1审核不通过  8 审核通过）
     */
    @TableField(value = "status", condition = EQUAL)
    private Integer status;
    /**
     * 审核意见
     */
    @TableField(value = "audit_remark", condition = LIKE)
    private String auditRemark;
    /**
     * 在线立案账号
     */
    @TableField(value = "filing_account", condition = LIKE)
    private String filingAccount;
    /**
     * 在线立案密码
     */
    @TableField(value = "filing_password", condition = LIKE)
    private String filingPassword;



}
